package cn.tedu.supermarket.types.mapper;

import cn.tedu.supermarket.types.pojo.dto.TypesQuery;
import cn.tedu.supermarket.types.pojo.entity.Types;
import cn.tedu.supermarket.types.pojo.vo.TypesVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TypesMapper {
    List<TypesVO> selectTypes(TypesQuery typesQuery);

    void insertTypes(Types types);

    void updateTypes(Types types);

    void deleteTypes(Long typeId);
}
